<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加</title>
</head>
<link href="<?php echo $this->baseUrl;?>/admincss/style.css" rel="stylesheet" type="text/css" />
<body><form action="<?php echo $this->url ($this->baseUrl, "alllist", "doadd", "", "admin");?>" method="post">
<input type="hidden" name="type" value="<?php echo $this->type;?>"/>
<table width="588" border="1" class="tableA" align="center">
  <tr>
    <td colspan="3" align="center" valign="middle">添加分类</td>
  </tr>
  <tr>
    <td>名称</td>
    <td><input name="name" type="text" id="name" size="30" /></td>
    <td>分类名称</td>
  </tr>
  <tr>
    <td>排序</td>
    <td><input name="seq" type="text" id="seq" value="100" size="10" /></td>
    <td>从大到小排序</td>
  </tr>
  <tr>
    <td>隐藏</td>
    <td><input name="hidden" type="radio" id="radio1" value="0" checked="checked" />
      <label for="radio1">显示</label>

<input type="radio" name="hidden" id="radio2" value="1" />
<label for="radio2">隐藏</label>
</td>
    <td>是否显示分类</td>
  </tr>
<?php
global $cfg;
if (in_array($this->type, $cfg['list_showleaf_types']))
echo <<<EOT
    <tr>
    <td>类型</td>
    <td><input name="isleaf" type="radio" id="isleaf1" value="1" />
      <label for="isleaf1">是</label>
	<input type="radio" name="isleaf" id="isleaf2" value="0" checked="checked" />
	<label for="isleaf2">否</label>
</td>
    <td>是否为叶子分类</td>
  </tr>
EOT;
?>
  <tr>
    <td colspan="3" align="center"><input class="btn_submit" type="submit" name="button" id="button" value="提交" />
    <input class="btn_submit" type="button" name="button" id="button" onclick="javascript:history.back(-1);" value="返回" /></td>
  </tr>
</table>
</form>
</body>
</html>